home *** CD-ROM | disk | FTP | other *** search
- Path: news.dfn.de!si-nic!usenet
- From: Markus Becker <becker@zess.uni-siegen.de>
- Newsgroups: comp.lang.c
- Subject: Re: Limit on #bytes inside of struct?
- Date: Mon, 12 Feb 1996 11:26:32 +0100
- Organization: ZESS, Uni-GH-Siegen
- Message-ID: <311F15D8.78D1@zess.uni-siegen.de>
- References: <4feg1d$d4g@cville-srv.wam.umd.edu> <4ffg6b$ivd@sparcserver.lrz-muenchen.de> <4ffohq$1gb@mordred.gatech.edu> <4ffun7$1l4l@cymbal.aix.calpoly.edu>
- NNTP-Posting-Host: becker.zess.uni-siegen.de
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
-
- Dan Stubbs wrote:
- > Here is a specific program to test the above suggestions.
-
- No it isn't, see below.
-
- > typedef struct {
- > int the_array[50000];
- > } struct_type;
- >
-
- This way, you don't put the 50K numbers in the struct, but only
- a pointer to them. Should be at most 4 bytes.
-
- --
- Markus Becker
- http://www.zess.uni-siegen.de/private/becker/
- Zentrum fuer Sensorsysteme (ZESS)
- http://www.zess.uni-siegen.de/private/becker/win95
-